/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.sqoop.connector.mysqljdbc;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.ResourceBundle;

import org.apache.sqoop.job.etl.Exporter;
import org.apache.sqoop.job.etl.Importer;
import org.apache.sqoop.model.MConnectionForms;
import org.apache.sqoop.model.MForm;
import org.apache.sqoop.connector.spi.SqoopConnector;
import org.apache.sqoop.model.MJobForms;
import org.apache.sqoop.utils.MapResourceBundle;
import org.apache.sqoop.validation.Validator;

public class MySqlJdbcConnector implements SqoopConnector {

  private static final List<MForm> CONNECTION_FORMS = new ArrayList<MForm>();
  private static final List<MJobForms> JOB_FORMS = new ArrayList<MJobForms>();

  @Override
  public ResourceBundle getBundle(Locale locale) {
    return new MapResourceBundle(new HashMap<String, Object>());
  }

  @Override
  public MConnectionForms getConnectionForms() {
    return new MConnectionForms(CONNECTION_FORMS);
  }

  @Override
  public List<MJobForms> getJobsForms() {
    return JOB_FORMS;
  }

  @Override
  public Importer getImporter() {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public Exporter getExporter() {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public Validator getValidator() {
    return new Validator();
  }
}
